﻿using System;
using System.Xml.Serialization;

namespace SPPropertyBagManagement.Code
{
    [Serializable]
    public class PropertyGridItem
    {
        public object PropertyName { get; set; }
        
        public object PropertyValue { get; set; }

        [XmlIgnore]
        public bool IsPropertyNameSupported { get; set; }

        [XmlIgnore]
        public bool IsPropertyValueSupported { get; set; }
        
        public TypeCode? ValueTypeCode { get; set; }

        [XmlIgnore]
        public TypeCode? NameTypeCode { get; set; }
    }
}
